package com.lhh.springcommon.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lhh.springcommon.entity.History;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhh.springcommon.entity.vo.VideoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李厚航
 * @since 2025-02-25
 */
@Mapper
public interface HistoryMapper extends BaseMapper<History> {

    /**
     * 分页查询历史记录视频数据
     * @param history
     * @param page
     * @return
     */
    Page<VideoVO> queryPageHistoryVideo(@Param("history") History history, Page<History> page);
}
